package com.aaa.mrcai.mapper;

import com.aaa.mrcai.pojo.entity.State;
import com.aaa.mrcai.pojo.entity.Store;
import com.aaa.mrcai.pojo.entity.StoreDetail;
import com.aaa.mrcai.pojo.vo.OtherVO;
import com.aaa.mrcai.query.StoreQuery;

import java.util.List;

/**
 * TODO
 *
 * @author 惠普
 * @date 2021/12/6  14:49
 */
public interface StoreMapper {
    List<Store> listStore(StoreQuery query);

    Long getTotalCount(StoreQuery query);

    int updateState(StoreQuery query);

    List<State> listState();

    StoreDetail getStoreDetail(int id);

    int addOther(OtherVO otherVO);
}
